home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / admin / linuxcon.000 / linuxcon / linuxconf-1.6 / paths.h < prev    next >
C/C++ Source or Header  |  1996-08-01  |  5KB  |  145 lines

  1. #ifndef CONF_PATHS_H
  2.  
  3.  
  4. // Port used when installing linuxconf in Web mode server.
  5. #define LINUXCONF_HTTP_PORT    98
  6. #define LINUXCONF_HTTP_PORT_DEBUG    8000
  7.  
  8. /* Different paths */
  9. /* If you change something here, you may want to change rules.mak also */
  10.  
  11. #define ETC_ALIASES        "/etc/aliases"
  12.  
  13. #define ETC_CONF_AMD_MAP    "/etc/conf.amd.map"
  14.  
  15. #define ETC_CONF_LINUXCONF    "/etc/conf.linuxconf"
  16. #define ETC_CONF_ROUTES        "/etc/conf.routes"
  17.  
  18. #define ETC_EXPORTS            "/etc/exports"
  19. #define ETC_FSTAB            "/etc/fstab"
  20. #define ETC_HOSTNAME        "/etc/hostname"
  21. #define ETC_GATED_CONF        "/etc/gated.conf"
  22. #define ETC_GROUP            "/etc/group"
  23. #define ETC_HOST_CONF        "/etc/host.conf"
  24. #define ETC_HOSTS            "/etc/hosts"
  25. #define ETC_INETD_CONF        "/etc/inetd.conf"
  26. #define ETC_LILO_CONF        "/etc/lilo.conf"
  27. #define ETC_SSH_HOST_KEY    "/etc/ssh_host_key"
  28. #define ETC_SHADOW            "/etc/shadow"
  29.  
  30. #define BOOT_MAP        "/boot/map"
  31. #define ETC_MTAB        "/etc/mtab"
  32. #define ETC_NAMED_BOOT        "/etc/named.boot"
  33. #define ETC_NETWORKS        "/etc/networks"
  34. #define ETC_PASSWD        "/etc/passwd"
  35. #define ETC_PPP_CONF_PPP    "/etc/ppp/conf.ppp"
  36. #define ETC_RESOLV_CONF        "/etc/resolv.conf"
  37. #define ETC_SENDMAIL_CF        "/etc/sendmail.cf"
  38. #define ETC_SHELLS        "/etc/shells"
  39. #define ETC_XF86CONFIG        "/etc/XF86Config"
  40.  
  41.  
  42. /* Empty file which record the last time netconf has sent */
  43. /* a SIGHUP signal to inetd */
  44. #define VAR_RUN_FIREWALL_ACCT    "/var/run/firewall.state.acct"
  45. #define VAR_RUN_FIREWALL_BLOCK    "/var/run/firewall.state.block"
  46. #define VAR_RUN_FIREWALL_FORWD    "/var/run/firewall.state.forwd"
  47. #define VAR_RUN_FIREWALL_OUTPUT    "/var/run/firewall.state.output"
  48. #define VAR_RUN_INETD_SIGHUP    "/var/run/inetd.sighup"
  49. #define VAR_RUN_PPP0_PID    "/var/run/ppp0.pid"
  50. #define VAR_RUN_PPPD_ARGS    "/var/run/pppd-args"
  51. #define VAR_RUN_ROUTED_OPTIONS    "/var/run/routed.options"
  52. #define USR_BIN_X11_X        "/usr/bin/X11/X"
  53.  
  54.  
  55. #define TMP_NETCONF_LOG        "/var/log/netconf.log"
  56. #define TMP_SIMUL        "/tmp/netconf.simul"
  57.  
  58.  
  59. #define USR_LIB_LINUXCONF    "/usr/lib/linuxconf"
  60. #define USR_LIB_CONF_DAEMONS    USR_LIB_LINUXCONF "/conf.daemons"
  61. #define USR_LIB_CONF_PERMISSIONS USR_LIB_LINUXCONF "/conf.permissions"
  62. #define USR_LIB_ZONEINFO    "/usr/lib/zoneinfo"
  63. #define USR_LIB_LOCALTIME    "/usr/lib/zoneinfo/localtime"
  64.  
  65. #define USR_SRC_LINUX_MAKEFILE    "/usr/src/linux/Makefile"
  66.  
  67. #define HELP_BASEPATH        "/usr/lib/linuxconf"
  68. #define HELP_ASKRUN        "askrunlevel"
  69. #define HELP_DNSCONF        "dnsconf"
  70. #define HELP_MAIN        "main"
  71. #define HELP_MAILCONF        "mailconf"
  72. #define HELP_NETCONF        "netconf"
  73. #define HELP_USER        "userconf"
  74. #define HELP_XCONF        "xconf"
  75. #define HELP_FSTAB        "fstab"
  76. #define HELP_UUCP        "uucp"
  77.  
  78. #define VAR_ADM_BOOT_LOG        "/var/log/boot.log"
  79.  
  80. #define VAR_RUN_INITRUNLEVEL    "/var/run/initrunlvl"
  81. #define ETC_INITRUNLEVEL    "/etc/initrunlvl"
  82. #define VAR_RUN_NETLEVEL        "/var/run/netconf.level"
  83. #define VAR_RUN_ROUTES_CURRENT    "/var/run/routes.current"
  84.  
  85. #define VAR_LIB_MAILERTABLE    "/var/lib/mailertable"
  86. #define VAR_LIB_CONF_PERMISSIONS "/var/lib/conf.permissions"
  87.  
  88. #define VAR_LIB_UUCP_DEVICES    "/var/lib/uucp/hdb_config/Devices"
  89. #define VAR_LIB_UUCP_DIALERS    "/var/lib/uucp/hdb_config/Dialers"
  90. #define VAR_LIB_UUCP_PERMS        "/var/lib/uucp/hdb_config/Permissions"
  91. #define VAR_LIB_UUCP_POLL        "/var/lib/uucp/hdb_config/Poll"
  92. #define VAR_LIB_UUCP_SYSTEMS    "/var/lib/uucp/hdb_config/Systems"
  93.  
  94. #define VAR_LIB_WWW_HTTPD_CONF    "/var/lib/www/conf/httpd.conf"
  95. #define VAR_LIB_WWW_BIN_HTTPD    "/var/lib/www/bin/httpd"
  96.  
  97. /* Different magic names */
  98.  
  99. /* Symbolic names used in /etc/hosts and /etc/network to configure */
  100. /* first ethernet interface */
  101. #define NAM_ETH0_LOGHOST        "loghost"
  102. #define NAM_ETH0_NETWORK        "eth0_network"
  103. #define NAM_ETH0_NETMASK        "eth0_netmask"
  104.  
  105. /* Second ethernet */
  106. #define NAM_ETH1_LOGHOST        "eth1_loghost"
  107. #define NAM_ETH1_NETWORK        "eth1_network"
  108. #define NAM_ETH1_NETMASK        "eth1_netmask"
  109.  
  110. /* Third ethernet */
  111. #define NAM_ETH2_LOGHOST        "eth2_loghost"
  112. #define NAM_ETH2_NETWORK        "eth2_network"
  113. #define NAM_ETH2_NETMASK        "eth2_netmask"
  114.  
  115. /* fourth ethernet */
  116. #define NAM_ETH3_LOGHOST        "eth3_loghost"
  117. #define NAM_ETH3_NETWORK        "eth3_network"
  118. #define NAM_ETH3_NETMASK        "eth3_netmask"
  119.  
  120. #define SBIN_SLIPLOGIN            "/sbin/diplogin"
  121. #define USR_LIB_PPP_PPPLOGIN        "/usr/lib/ppp/ppplogin"
  122. #define USR_LIB_UUCP_UUCICO        "/usr/lib/uucp/uucico"
  123. #define VAR_SPOOL_UUCPPUBLIC        "/var/spool/uucppublic"
  124.  
  125. #define POP_GROUP            "popusers"
  126. #define PPP_GROUP            "pppusers"
  127. #define SLIP_GROUP            "slipusers"
  128. #define UUCP_GROUP            "uucp"
  129.  
  130. #define PROC_NET_ALIAS_TYPES    "/proc/net/alias_types"
  131. #define PROC_NET_ALIASES        "/proc/net/aliases"
  132. #define PROC_NET_DEV            "/proc/net/dev"
  133. #define PROC_NET_IP_FORWARD        "/proc/net/ip_forward"
  134. #define PROC_NET_IP_BLOCK        "/proc/net/ip_block"
  135. #define PROC_NET_IP_INPUT        "/proc/net/ip_input"
  136. #define PROC_NET_IP_OUTPUT        "/proc/net/ip_output"
  137. #define PROC_NET_IP_ACCT        "/proc/net/ip_acct"
  138. #define PROC_NET_IPX_INTER        "/proc/net/ipx_interface"
  139. #define PROC_NET_RARP            "/proc/net/rarp"
  140.  
  141. #define LIB_MODULES                "/lib/modules"
  142.  
  143. #endif
  144.  
  145.